import request from '@/utils/request'

//获取转码配置
export function getTranscodeConfig() { //查询
	return request({
		method: 'get',
		url: '/video-server/get_video_config?source_type=nas',
		headers: {
			apiType: 4
		}
	})
}

//更新转码配置
export function updateTranscodeConfig(data) { //修改
	return request({
		method: 'post',
		url: '/video-server/update_video_config',
		headers: {
			apiType: 4
		},
		data
	})
}